<%@page contentType="text/html" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人信息管理系统 -> 修改日程</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f7fc;
            margin: 0;
            padding: 0;
        }

        h1 {
            color: #2c3e50;
            margin-top: 20px;
        }

        a {
            text-decoration: none; /* 去掉下划线 */
        }

        .container {
            max-width: 900px;
            margin: 60px auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        nav {
            margin-bottom: 20px;
            text-align: center;
        }

        nav a {
            margin: 0 15px;
            font-size: 16px;
            color: #3498db;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        nav a:hover {
            color: #1abc9c;
        }

        form {
            background-color: #fafafa;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        table {
            width: 100%;
            margin-top: 20px;
            border-collapse: collapse;
        }

        td {
            padding: 10px;
            vertical-align: middle;
        }

        td input[type="text"] {
            width: 100%;
            padding: 8px;
            margin: 5px 0;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
        }

        td input[type="submit"],
        td input[type="reset"] {
            background-color: #3498db;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        td input[type="submit"]:hover,
        td input[type="reset"]:hover {
            background-color: #2980b9;
        }

        .form-group {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .form-group label {
            width: 20%;
            font-weight: bold;
            color: #333;
        }

        .form-group input {
            width: 75%;
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 14px;
        }

        .form-group input[type="text"] {
            width: 25%;
            display: inline-block;
        }

        .form-group input[type="submit"], .form-group input[type="reset"] {
            width: auto;
            margin: 0 10px;
        }

        .footer {
            text-align: center;
            margin-top: 30px;
            font-size: 14px;
            color: #888;
        }

    </style>
</head>
<body>

<div class="container">
    <h1>修改日程</h1>

    <nav>
        <a href="http://localhost/dateManager/lookDate.jsp">查看日程</a>
        <a href="http://localhost/dateManager/addDate.jsp">增加日程</a>
        <a href="javascript:void(0);" style="color: #1abc9c;">修改日程</a>
        <a href="http://localhost/dateManager/deleteDate.jsp">删除日程</a>
    </nav>

    <form action="http://localhost/UpdateDateController/updateDate" method="post" accept-charset="UTF-8">
        <div class="form-group">
            <label for="year">日程时间</label>
            <input type="text" id="year" name="year" maxlength="2" placeholder="22" title="请输入年份的后两位">年
            <input type="text" id="month" name="month" maxlength="2" placeholder="01" title="请输入月份">月
            <input type="text" id="day" name="day" maxlength="2" placeholder="01" title="请输入日期">日
        </div>

        <div class="form-group">
            <label for="thing">日程内容</label>
            <input type="text" id="thing" name="thing" placeholder="请输入日程内容" required>
        </div>

        <div class="form-group" style="justify-content: center;">
            <input type="submit" value="确 定">
            <input type="reset" value="重 置">
        </div>
    </form>
</div>

<div class="footer">
    <p>&copy; 2024 个人信息管理系统 - All rights reserved.</p>
</div>

</body>
</html>
